import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './quasar-user-options'
import mbconfig from '@/js/config'
import utils from "@/js/utils"
import Toast from "vue-toastification";

import "vue-toastification/dist/index.css";

const options = {
      transition: 'Vue-Toastification__fade',
      maxToasts: 3,
      newestOnTop: true,
      position: 'bottom-center',
      timeout: 2000,
      closeOnClick: true,
      pauseOnFocusLoss: true,
      pauseOnHover: false,
      draggable: true,
      draggablePercent: 0.7,
      showCloseButtonOnHover: false,
      hideProgressBar: true,
      closeButton: 'button',
      icon: true,
      rtl: false
};


// const hls = require('videojs-contrib-hls')
// Vue.use(hls)
Vue.config.productionTip = false

Vue.use(utils);
Vue.use(mbconfig);
Vue.use(Toast, options);
// 使用indexdb管理聊天记录
// Vue.use(db);
// 导入用户管理

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
